﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hyt.Core;
using Hyt.Core.Interceptors;
using Autofac.Extras.DynamicProxy2;

namespace Huayuan.ApplicationService
{
    [Intercept(typeof(AuthInterceptor))]
    public partial class ServiceCenter
    {
        IUnitOfWork UnitOfWork;
        public ServiceCenter()
        {
        }
        public ServiceCenter(IUnitOfWork ufw)
        {
            UnitOfWork = ufw;
        }
        public void SetUnitOfWork(IUnitOfWork ufw)
        {
            UnitOfWork = ufw;
        }
    }
}
